Xbasic

A5.GET_PRIVATE_PATH Function

Syntax

Path as C = .Get_Private_Path()

Description

Returns the current Private path.

The A5.GET_PRIVATE_PATH() method returns the current user's local path. This is where the queries that the user runs get stored. This path is defined in the Settings panel. To get to the Settings panel, select View > Settings when the Control Panel has focus.

If you are going to reference a file, you have to add the backslash at the end of the path.

Example

? a5.get_private_path()
= "C:\DOCUME~1\ELARRA~1\LOCALS~1\Temp"
? a5.Get_Private_Path()+ "\\"
= "C:\DOCUME~1\ELARRA~1\LOCALS~1\Temp\"

See Also